<!-- 生成搜索选项(link方式) start -->
<?php $_option = isset($output['options']['link'][$_options_name]) ? $output['options']['link'][$_options_name] : null; ?>
<?php $_current = isset($_option['current']) ? $_option['current'] : null; ?>
<?php if (isset($_option['data']) && is_array($_option['data']) && !empty($_option['data'])): ?>
	<?php foreach($_option['data'] as $val => $lable): ?>
		<?php if ($val === $_current): ?>
			<span class="<?php echo (isset($_option['class']) ? $_option['class'] : ''); ?>"><?php echo $lable; ?></span>
		<?php else: ?>
			<a href="<?php echo $this->joinUrl(array($_options_name => $val)); ?>"><?php echo $lable; ?></a>
		<?php endif; ?>
		 | 
	<?php endforeach; ?>
<?php endif; ?>
<!-- 生成搜索选项(link方式) end -->